-- GENERATED SPELL FOR [Ironspine Petrifier] --


function spell0_21854(pUnit, Event) --@Glare,n/a--
pUnit:FullCastSpellOnTarget(32905,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21854', 8000, 1)
end

function Sorts_21854(pUnit, Event)
local choix_sorts_21854 = math.random(0, 0)
if choix_sorts_21854 == 0 then
pUnit:RegisterEvent('spell0_21854', 1, 1)
end
end

function mob21854_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21854', math.random(1500, 3000), 1)
end

function mob21854_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21854_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21854_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21854, 1, 'mob21854_Action')
RegisterUnitEvent(21854, 2, 'mob21854_Leave')
RegisterUnitEvent(21854, 3, 'mob21854_Kill')
RegisterUnitEvent(21854, 4, 'mob21854_Die')
